package com.graduation.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum CaseStatusEnum {
    ONGOING(0, "进行中"),
    CLOSED(1, "已结案"),
    APPEALED(2, "上诉");

    @JsonValue
    @EnumValue
    private final Integer value;
    private final String desc;

    CaseStatusEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
